from tortoise import fields
from tortoise.models import Model

class ElectricPriceCategory(Model):
    category_id = fields.IntField(pk=True)
    category_name = fields.CharField(max_length=100)

    class Meta:
        table = "electric_price_category"

    def __str__(self):
        return self.category_name
